<?php

namespace app\api\controller\v1;

use app\common\controller\BaseController;
use app\common\validate\CommentValidate;
use app\common\model\Comment as CommentModel;
class Comment extends BaseController
{
    // 用户评论
    public function comment()
    {
       (new CommentValidate())->gocheck();
       (new CommentModel())->comment();
       return $this->showResCodeWithOutData('评论成功');
    }
}
